package panels.util;

import javax.swing.JTabbedPane;

import panels.ActorPanel;

public class ActorTabbedPane extends JTabbedPane {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ActorPanel	actor = null;
	
	public ActorPanel getActor() {
		return actor;
	}
	public void setActor(ActorPanel A) {
		if (getActor() != null) {
			this.remove(getActor());
		}
		this.actor = A;
		this.add(A);
	}
	
	
	
}
